<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <link rel="icon" href="icon.png" />
  </head>
  <body>
    <div>123</div>

    <script>
      ['study01-loader', 'study02-compiler', 'study03-externals', 'study05-defineplugin', 'study-module'].forEach(
        (dir) => {
          function onclick() {
            window.location.href = '/' + dir + '/index.html';
          }
          const button = document.createElement('button');
          button.innerText = dir;
          button.onclick = onclick;
          document.body.appendChild(button);
        }
      );
    </script>
  </body>
</html>
